import type { Profile } from '@/types/login'
import http from '@/utils/http'

/**
 * 模拟微信登录
 * @param phoneNumber 手机号
 */
export const loginWxMinSimpleAPI = (phoneNumber: string) => {
  return http<Profile>({
    method: 'POST',
    url: '/login/wxMin/simple',
    data: {
      phoneNumber
    }
  })
}
